package client.nyan;

import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JComponent;
import javax.swing.JLabel;
import javax.swing.JPanel;

import gui.Element;

public class NyanElement implements Element {
	JPanel mainPanel = new JPanel();

	@Override
	public void init() {
		Icon icon = new ImageIcon("res/nyan_200x200.gif");
		JLabel label = new JLabel(icon);
		mainPanel.add(label);
	}

	@Override
	public JComponent getComponent() {
		return mainPanel;
	}

	@Override
	public String getCaption() {
		return "";
	}

	@Override
	public boolean isLeftPanel() {
		return true;
	}

}
